<?php

/*定义IN_ECS防止被盗链等....*/
if (!defined('IN_ECS')) {
	die('Hacking attempt');
}
if($_GET[flag]==1) {
	$_POST = $_GET;
}
session_id($_POST[Sender]); 
session_start();  
$_POST[Message] = str_replace("\\0","",$_POST[Message]) ;
/* 取得当前所在的根目录 */
if (!defined('ROOT_PATH')) {
	define('ROOT_PATH', str_replace('Common/init.php', '', str_replace('\\', '/', __FILE__)));
}
require_once (ROOT_PATH . 'Conf/config.php');

/*引入核心类库*/
require_once (ROOT_PATH . 'Lib/Core/App.class.php');

/*引入核心数据库操作类*/
require_once (ROOT_PATH . 'Lib/Db/DB.class.php');

require_once (ROOT_PATH . 'Lib/Mode/ClusterManager.class.php');

require_once (ROOT_PATH . 'Lib/Mode/ClusterParam.class.php');

require_once (ROOT_PATH . 'Lib/Mode/Blacklist.class.php');

require_once (ROOT_PATH . 'Lib/Mode/Whitelist.class.php');

require_once (ROOT_PATH . 'Lib/Mode/Filter.class.php');

require_once (ROOT_PATH . 'Lib/Util/CurlUtil.class.php');

require_once (ROOT_PATH . 'Lib/Util/Authority.class.php');

require_once (ROOT_PATH . 'Lib/Util/Favorable.class.php');

require_once (ROOT_PATH . 'Lib/Util/Api.class.php');

require_once (ROOT_PATH . 'Common/function.php');

require_once (ROOT_PATH . 'Common/common.php');

?>